package com.huaxi.ddgw.manager.mapper;

import com.huaxi.ddgw.model.dto.order.OrderStatisticsDto;
import com.huaxi.ddgw.model.entity.order.OrderStatistics;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderStatisticsMapper {
    //把统计的数据添加到结果表
    void insert(OrderStatistics orderStatistics);

    //根据dto条件查询统计结果数据 返回list集合
    List<OrderStatistics> selectList(OrderStatisticsDto orderStatisticsDto);
}
